import React, { useContext } from 'react'
import { context } from './ContextCom'

export default function Son() {
    // useContext(context)
    const data = useContext(context)
    return (
        <div>
            <h5>
                我是子组件 -- { data }
            </h5>
        </div>
    )
}
